﻿#include "mainface.h"
#include "ui_mainface.h"
#include <QFileDialog>
#include <QDebug>

MainFace::MainFace(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::MainFace)
{
    ui->setupUi(this);

    ui->widget_3->setStyleSheet("background-color: rgba(255, 255, 255, 0.7);");
    ui->stackedWidget->setStyleSheet("background-color: rgba(255, 255, 255, 0.7);");
}

MainFace::~MainFace()
{
    delete ui;
}

void MainFace::closeEvent(QCloseEvent *event)
{
    emit closeFace();  // 关闭时发射信号
}
